<template>
  <el-carousel class="boxwrap" :interval="2000" type="card" height="100px" indicator-position="none">
    <el-carousel-item class="box">
      <h3 class="img" text="2xl" justify="center"></h3>
    </el-carousel-item>
    <el-carousel-item class="box">
      <h3 class="img" text="2xl" justify="center"></h3>
    </el-carousel-item>
    <el-carousel-item class="box">
      <h3 class="img" text="2xl" justify="center"></h3>
    </el-carousel-item>
  </el-carousel>
</template>

<script setup lang="ts"></script>

<style lang="scss" scoped>
.boxwrap{
    // display: flex;
    // justify-content: center;
}
.el-carousel__item h3 {
  color: #475669;
  opacity: 0.25;
  line-height: 100px;
  margin: 0;
  text-align: center;
//   border-radius: 40px !important;
}

.el-carousel__item:nth-child(2n) {
  background-color: yellowgreen;
//   width: 300px;
}

.el-carousel__item:nth-child(2n + 1) {
  background-color: pink;
//   width: 300px;

}

.box{
    border-radius: 14px;
}
</style>
